<include file="Public/header" title="我的发票" bdstyle="background:#f2f2f2"/>
<include file="Public/header_back"/>
	<foreach name="invoice_data" item="val">
    <article class="invoice-order-list" onclick="location.href='{:U('Ucenter/invoiceDetail',array('order_id'=>$val['order_id']))}'">
        <div class="invoice-order-head flex-justify">
            <span>订单号：{$val.order_sn}</span>
            <span>{:date('Y-m-d H:i:s',$val['add_time'])}</span>
        </div>
        <div class="invoice-order-main">
            <section class="clearfix">
                <span>{$val.goods_name}</span>
                <div>{$val.contain_goods}</div>
            </section>
            <section class="clearfix">
                <span>发票类型</span>
                <div class="flex-justify">
                    <span>{$val.inv_type}</span>
                    <if condition="$val.refund_status neq '0'"><a href="javascript:void(0)" class="invoice-type"></a></if>
                </div>
            </section>
            <section class="clearfix">
                <span>发票种类</span>
                <div class="flex-justify">
                    <span>{:$val['inv_online']=='1'?'电子发票':'纸质发票'}</span>
                    <a href="javascript:void(0)" class="invoice-mold"></a>
                </div>
            </section>
            <section class="clearfix">
                <span>发票状态</span>
                <div>已开</div>
            </section>
        </div>
    </article>
	</foreach>   
</body>
</html>


